import request from '@/utils/request'

export function saveConfig(obj) {
  return request({
    url: '/cms/config/save',
    method: 'post',
    data: obj
  })
}

export function getConfig(obj) {
  return request({
    url: '/cms/config',
    method: 'get',
    data: obj
  })
}
export function getIndex(obj) {
  return request({
    url: '/cms/home',
    method: 'get',
    data: obj
  })
}